import type { LoginParams } from "./types";
import type { LoginApiReponse } from "@pojo/LoginUserInfoVO";
import Service from "../index";

export default class AuthService {
  static userLogin(param: LoginParams) {
    return Service.getInstance().request<LoginApiReponse>({
      url: "/api/login",
      method: "POST",
      data: param,
    });
  }
}
